<template>
    <div class="lineItem">
        
        <div class="schedule">
            <!-- 询价规则，法律条款 -->
            <CrossLine></CrossLine>
            <ul class="mui-table-view mui-table-view-chevron clause">
                <li class="mui-table-view-cell" @tap="alterPsw">
                    <span>修改登录密码</span><span class="i-c icon-you-01"></span>
                </li>
                <!--<li class="mui-table-view-cell" @tap="alterNumber">
                    <span>修改手机号码</span><span  class="i-c icon-you-01"></span>
                </li>-->
                <li class="mui-table-view-cell" >
                    <span>绑定邮箱</span><span  class="i-c icon-you-01"></span>
                </li>
            </ul>
        </div>
    </div>
</template>

<script>
    import CrossLine from '@/components/base/cross-line/cross-line'
    import mui from "static/js/mui"
    import { Toast } from 'mint-ui'
    export default {
        components: {
            CrossLine,
        },
        data() {
            return {
            }
        },
        props: {},
        watch: {},
        methods: {
            //修改密码
            alterPsw(){
                this.$router.push({
                    path: '/forgetPassword'
                    //path:'/modifiyLoginPassword'
                })
            },
            //修改手机号码
            // alterNumber(){
            //     this.$router.push({
            //         path:'/modifiyPhoneNumber'
            //     })
            // },
            //绑定邮箱
            bingEmail(){
                this.$router.push({
                    path:'/bindEmail'
                })
            }
        },
        filters: {},
        computed: {},
        created() { },
        mounted() {
            mui.init({
                keyEventBind: {
                backbutton: true  //关闭back按键监听
                }
            })
            mui.back = function () {
                history.go(-1)
            }
        },
        destroyed() { }
    }

</script>

<style lang="scss" scoped>
    .mui-table-view-chevron .mui-table-view-cell {
        padding-right:15px;color:#333333;font-size:0.7rem;
    }
    .i-c{
        float:right;
        font-size:1.1rem;
    }
</style>